import { Component, Vue, Prop, Watch } from 'vue-property-decorator';
@Component({
})
export class tenantMixin extends Vue {
    dataStore: any = {
        proxy: {
            autoLoad: false
        }
    };

    @Prop() readonly data: any;
    @Watch('data', { immediate: true })
    updateData({ member_sn }: any = {}) {
        if (member_sn) {
            const me = this as any;
            me.$nextTick(() => {
                me.lodaByDefaultParams({ member_sn });
            })
        }
    }
}
